package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.bean.Employee;

import java.util.List;

public interface EmployeeService {
    Employee login(String username, String password);

    PageInfo<Employee> show(Integer index,String username,String rolename,String deptname);

    public int addEmp(Employee employee);

    Employee findNum(String numval);

    Employee findById(Integer id);

    int update(Employee employee);

    int deleteByIds(int[] empid,Integer state);

    int deleteById(int id);

    List<Employee> findbyids(int[] empid);

}
